import request from '@/utils/requestAdmin'

export function getCarouselList(params) {
  return request.get('/carousel/carouselPage', { params })
}
export function addCarousel(data) {
  return request.post('/carousel/add', data)
}
export function updateCarousel(data) {
  return request.post('/carousel/update', data)
}
export function deleteCarousel(id) {
  return request.delete(`/carousel/delete/${id}`)
} 